package com.zhuhjay.model.dto;

import com.zhuhjay.annotation.Matching;
import lombok.Data;

import static com.zhuhjay.enums.MatchingMode.*;

/**
 * @author ZhuHJay
 * @date 2023/1/11 20:20
 */
@Data
public class UserRegisterDto {
    @Matching(Username)
    private String username;

    @Matching(Password)
    private String password;

    @Matching(Telephone)
    private String telephone;

    @Matching(Email)
    private String email;
}
